package com.lovo.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lovo.dao.DictionariesMapper;
import com.lovo.vo.Dictionaries;

@Service
@Transactional
public class DictionariesService {
	@Autowired
	DictionariesMapper service;

	public List<Dictionaries> findByUser(Dictionaries user) {

		return service.findByUser(user);

	}

	public int countUser(Dictionaries user) {
		return service.countUser(user);
	}

	public int insertUser(Dictionaries user) {

		return service.insertUser(user);
	}

	public List<Dictionaries> findQuery(Dictionaries user) {

		return service.findQuery(user);
	}

	public int updateUser(Dictionaries user) {

		return service.updateUser(user);
	}

	public Dictionaries getData(Dictionaries user) {

		return service.getData(user);

	}

	public int deleteUser(String[] ids) {

		return service.deleteUser(ids);
	}
}
